package org.opicasso.cheese.ui.pages;

import org.opicasso.cheese.domain.Cheese;
import org.opicasso.cheese.ui.components.CheeseDetails;
import org.opicasso.cheese.ui.components.ShoppingCartPanel;

public class CheesePage extends AbstractCheesePage {

	private static final long serialVersionUID = 8738938033378714995L;

	public CheesePage(Cheese cheese) {
		super();
		// cheese details
		add(new CheeseDetails("details", cheese));
//		add(new Label("name", cheese.getName()));
//		add(new Label("description", cheese.getDescription()));
		// cart
		add(new ShoppingCartPanel("cart", getCart()));
	}

}
